package com.shujia.day08;

class Outer5 {
    public int num = 10;
    class Inner {
        public int num = 20;
        public void show() {
            int num = 30;
            System.out.println(num); // 30
            System.out.println(this.num);  // 20
            System.out.println(Outer5.this.num); //  10
        }
    }
}


class Outer6 {
    public int num = 10;

//    public InnerFun fun(){
//        class InnerFun{
//
//        }
//    }
}

public class Code05InnerTest {



    public static void main(String[] args) {
        Outer5 outer = new Outer5();
        Outer5.Inner inner = outer.new Inner();
        inner.show();

    }
}
